package com.kkwrite.regimen.provider.repository;

import com.kkwrite.regimen.provider.domain.RegPictureDO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/** 
 * 配图 Repository
 *
 * @author Soosky Wang
 * @date 2018年7月20日 下午5:04:18 
 * @version 1.0.0
 */
public interface RegPictureRepository extends JpaRepository<RegPictureDO, Long> {

	List<RegPictureDO> findByPictureOwnerIdAndPictureOwnerType(Long pictureOwnerId, Short pictureOwnerType);

}
